package com.example.server.entity;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class Coupon implements Serializable {
    @Serial
    private static final long serialVersionUID = -6812910249331560766L;

    private Integer id;
    private int uid;
    private double amount;
    private String code;
    private int quantity;

    private User user;
}
